package com.guigu.serviceorder.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.guigu.serviceorder.entity.TbStatistical;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jobob
 * @since 2020-07-17
 */
public interface ITbStatisticalService extends IService<TbStatistical> {

    TbStatistical selectnumber();

    TbStatistical selectorders();

    /**
     * 下单件数
     * @return
     */
    TbStatistical selectonum();

    /**
     * 有效订单数
     * @return
     */
    TbStatistical selectovalid();

    /**
     * 退款金额
     * @return
     */
    TbStatistical selectamount();

    /**
     * 付款人数
     * @return
     */
    TbStatistical selectpayment();

    /**
     * 付款件数和付款金额以及客单价
     * @return
     */
    TbStatistical selectquantity();


    //public List<Map> category1ITbStatistical(String date1, String date2);



}
